// @lyr dataset layer
function getFurnitureLayerType(lyr) {
  const rec = lyr.data && lyr.data.getReadOnlyRecordAt(0)
  return rec && rec.type || null
}
function getFurnitureLayerData(lyr) {
  return lyr.data && lyr.data.getReadOnlyRecordAt(0)
}
export default {
  getFurnitureLayerType,
  getFurnitureLayerData,
}